package com.example.design.factory.version2;

public class TestSend {
    public static void main(String[] args) {
        SendMagger sen= FactoryPro.Pro(FactoryPro.QQ);
        sen.send();

        SendMagger sen1= FactoryPro.Pro("WX");
        sen1.send();
    }
}
